package com.codedancer.campus.manager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codedancer.campus.manager.service.bo.school.SchoolAddOrUpdateBo;
import com.codedancer.campus.manager.service.bo.school.SchoolPageSearchBo;
import com.codedancer.campus.manager.service.vo.school.SchoolPageVo;
import com.codedancer.campus.manager.service.vo.school.SchoolVo;
import java.util.List;

public interface ISchoolService {

    /**
     * 添加学校
     * @param schoolAddOrUpdateBo
     */
    void add(SchoolAddOrUpdateBo schoolAddOrUpdateBo);

    /**
     * 修改学校
     * @param schoolAddOrUpdateBo
     */
    void update(SchoolAddOrUpdateBo schoolAddOrUpdateBo);

    /**
     * 启用学校
     * @param uuid
     */
    void enable(String uuid);

    /**
     * 禁用学校
     * @param uuid
     */
    void disable(String uuid);

    /**
     * 分页查询学校
     * @param schoolPageSearchBo
     * @return
     */
    IPage<SchoolPageVo> page(SchoolPageSearchBo schoolPageSearchBo);

    /**
     * 删除学校
     * @param uuid
     */
    void delete(String uuid);

    /**
     * 获取所有学校
     * @return
     */
    List<SchoolVo> all();
}
